const rolesList = [
  {
    "roleStatus": '1',
    "roleName": "超级管理员",
    "roleCode": "admin"
  },
  {
    "roleStatus": '1',
    "roleName": "普通管理员",
    "roleCode": "test"
  },
]
export default [

  // 查询接口
  {
    url: '/mock/sysRole/findSysRoleList',
    method: 'post',
    timeout: 500,
    response: () => {
      return {
        code: 200,
        data: rolesList
      }
    }
  },
  {
    url: '/mock/sysRole/saveOrUpdateSysRoleAndSysRoleMenu',
    method: 'post',
    response: ({ body }: any) => {
      return {
        code: 201,
        data: null,
        msg: '演示模式无法操作'
      }
    }
  },
  {
    url: '/mock/sysRole/removeSysRoleAndRoleMenuAndUserRoleByRoleCode',
    method: 'post',
    response: ({ body }: any) => {
      return {
        code: 201,
        data: null,
        msg: '演示模式无法操作'
      }
    }
  },

]